//
//  WCTFriend.h
//  WeChatTool
//
//  Created by TerryChe on 2016/12/2.
//  Copyright © 2016年 TerryChe. All rights reserved.
//

#import <Foundation/Foundation.h>

static NSString* str_friend_wenober = @"ad_friend_wenober";
static NSString* str_friend_name = @"ad_friend_name";
static NSString* str_friend_photo = @"ad_friend_photo";
static NSString* str_friend_remark = @"ad_relation_remark";
static NSString* str_friend_type = @"ad_relation_type";
static NSString* str_friend_uwenober = @"ad_friend_uwenober";
static NSString* str_is_del = @"ad_isdel";
//static NSString* str_updatechatting_time = @"ad_updatechatting_time";
//static NSString* str_last_content = @"ad_last_content";
//static NSString* str_last_send = @"ad_last_send";
static NSString* str_friend_label = @"ad_label";

@interface WCTFriend : NSObject

//好友微信号
@property (nonatomic, strong) NSString* wenober;

//好友微信名字
@property (nonatomic, strong) NSString* name;

//好友微信头像
@property (nonatomic, strong) NSString* photo;

//好友微信备注
@property (nonatomic, strong) NSString* remark;

//好友类型
@property (nonatomic, assign) NSInteger type;

//好友微信更改后的微信号
@property (nonatomic, strong) NSString* uwenober;

////好友微信更改后的微信号
//@property (nonatomic, assign) NSInteger updateTime;
//
////好友微信更改后的微信号
//@property (nonatomic, strong) NSString* lastContent;
//
////好友微信更改后的微信号
//@property (nonatomic, assign) NSInteger lastSender;

//标签
@property (nonatomic, strong) NSString* label;

+ (instancetype)WCTFriendByWenober:(NSString *)wenober
                              Name:(NSString *)name
                             Photo:(NSString *)photo
                            Remark:(NSString *)remark
                              Type:(NSInteger)type
                          Uwenober:(NSString *)uwenober
//                        UpdateTime:(NSInteger)updateTime
//                       LastContent:(NSString *)lastContent
//                        LastSender:(NSInteger)lastSender
                             Label:(NSString *)label;

+ (instancetype)WCTFriendByDic:(NSDictionary *)dic;

- (NSDictionary *)convertToDic;

//获取微信号，如果有修改后的返回修改后的。
-(NSString *)getWeChatNo;

- (int)checkIsDel;

@end
